﻿using B.MES.Customer.Application.Application;
using B.MES.Customer.Domain;
using B.MES.Customer.Domain.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Application.IApplication
{
    /// <summary>
    /// 生产服务层
    /// </summary>
    public interface IProduceApplication : IBaseApplication<Produce>
    {
        int AddProduce(Produce produce, string? SalesOrderNumber);
        PageApiResut<Produce> GetProduceShow(string? ProCode, int pageIndex, int pageSize);
        int DelteProduce(int ProId);
        Produce GetProduceByProId(int ProId);
        int UpdateProduce(Produce produce);
        List<Produce> GetProduct();
    }
}
